﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Watson.TemporaryFilesDeleter
{
    /// <summary>
    /// Event arguments for the <see cref="FileDelete.CurrentActivityChanged"/>
    /// event.
    /// </summary>
    public class CurrentActivityChangedEventArgs : EventArgs
    {
        #region Private Read-only Fields

        /// <summary>
        /// A string describing the current activity.
        /// </summary>
        private readonly string currentActivity;

        #endregion

        #region Public Properties

        /// <summary>
        /// Gets a string describing the current activity.
        /// </summary>
        public string CurrentActivity
        {
            get { return this.currentActivity; }
        }

        #endregion

        #region Public Constructors

        /// <summary>
        /// Initialises a new instance of the CurrentActivityChangedEventArgs
        /// class.
        /// </summary>
        public CurrentActivityChangedEventArgs()
        { }

        /// <summary>
        /// Initialises a new instance of the CurrentActivityChangedEventArgs
        /// class specifying a value for the current activity.
        /// </summary>
        /// <param name="currentActivity">
        /// A string describing the current activity.
        /// </param>
        public CurrentActivityChangedEventArgs(string currentActivity)
        {
            this.currentActivity = currentActivity;
        }

        #endregion
    }
}
